﻿using ComprehensiveSystem.Model.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ComprehensiveSystem.IRepository
{
    public interface IPatientRepository : IBaseRepository<PatientEntity>
    {
        #region 获取缓存的所有数据==========================================================

        /// <summary>
        /// 获取缓存的所有数据
        /// </summary>
        /// <returns></returns>
        Task<List<PatientEntity>> GetCaChe();

        /// <summary>
        ///     更新cache
        /// </summary>
        Task<List<PatientEntity>> UpdateCaChe();

        #endregion
    }
}
